<%@ page import="sar.ProgramCourse" %>



<div class="fieldcontain ${hasErrors(bean: programCourseInstance, field: 'startDate', 'error')} required">
	<label for="startDate">
		<g:message code="programCourse.startDate.label" default="Start Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="startDate" precision="day"  value="${programCourseInstance?.startDate}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: programCourseInstance, field: 'endDate', 'error')} required">
	<label for="endDate">
		<g:message code="programCourse.endDate.label" default="End Date" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="endDate" precision="day"  value="${programCourseInstance?.endDate}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: programCourseInstance, field: 'course', 'error')} required">
	<label for="course">
		<g:message code="programCourse.course.label" default="Course" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="course" name="course.id" from="${sar.Course.list()}" optionKey="id" required="" value="${programCourseInstance?.course?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: programCourseInstance, field: 'program', 'error')} required">
	<label for="program">
		<g:message code="programCourse.program.label" default="Program" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="program" name="program.id" from="${sar.Program.list()}" optionKey="id" required="" value="${programCourseInstance?.program?.id}" class="many-to-one"/>
</div>

